<html>
<head><meta charset="utf-8"><title>stories on platform-native runtimes · wg-async-foundations · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/index.html">wg-async-foundations</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/stories.20on.20platform-native.20runtimes.html">stories on platform-native runtimes</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="233658078"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/stories%20on%20platform-native%20runtimes/near/233658078" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yoshua Wuyts <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/stories.20on.20platform-native.20runtimes.html#233658078">(Apr 08 2021 at 14:07)</a>:</h4>
<p>Somewhat related to <a href="#narrow/stream/187312-wg-async-foundations/topic/stories.20of.20portability">https://rust-lang.zulipchat.com/#narrow/stream/187312-wg-async-foundations/topic/stories.20of.20portability</a> I think we could use a story about using platform-native runtimes.</p>
<p>For example the Windows platform provides a wide array of facilities for writing native GUI applications that work asynchronously (e.g. [WinUI 3][1]).  This relies on a different set of system calls and has different considerations than when writing server workloads.</p>
<p>I'm not sure how far stories have (or intend to dip into) abstractions such as "<code>Task</code>" and "runtime", but we probably should probably cover the need to be able to swap backing runtimes by end-users when used in different environments and workloads. This includes WinUI3, but also: Browser WASM, GNOME, precisely tuned servers, and more.</p>
<div class="spoiler-block"><div class="spoiler-header">
</div><div class="spoiler-content" aria-hidden="true">
<p>[1]: <a href="https://youtu.be/OSYXGyMw9GE">https://youtu.be/OSYXGyMw9GE</a></p>
<div class="youtube-video message_inline_image"><a data-id="OSYXGyMw9GE" href="https://youtu.be/OSYXGyMw9GE"><img src="https://i.ytimg.com/vi/OSYXGyMw9GE/default.jpg"></a></div></div></div>



<a name="233658715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/stories%20on%20platform-native%20runtimes/near/233658715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Yoshua Wuyts <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/stories.20on.20platform-native.20runtimes.html#233658715">(Apr 08 2021 at 14:11)</a>:</h4>
<p>cc/ <span class="user-mention" data-user-id="224872">@rylev</span> and <span class="user-mention" data-user-id="119194">@Erick Tryzelaar</span>  as I think this is may be relevant for Windows  and Fuschia respectively.</p>



<a name="233713811"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187312-wg-async-foundations/topic/stories%20on%20platform-native%20runtimes/near/233713811" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/187312-wg-async-foundations/topic/stories.20on.20platform-native.20runtimes.html#233713811">(Apr 08 2021 at 19:25)</a>:</h4>
<p>Ah, yeah, <span class="user-mention" data-user-id="211722">@Yoshua Wuyts</span> I think this would be good. There is a bit of this on the story about guis</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>